#!/usr/bin/ruby
require 'gtk2'
require 'libglade2'
Gtk.init

@glade = GladeXML.new('info.glade')
@glade.widget_names.each do |name|
      instance_variable_set("@#{name}".intern, @glade[name])
end

@button1.signal_connect('clicked') do
  Gtk.main_quit
end
@window1.signal_connect('destroy') do
  Gtk.main_quit
 end

@window1.show_all
Gtk.main
